3.5.50 \(\int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{9/2} \, dx\) [450]

Optimal. Leaf size=449 \[ -\frac {21 a^{9/2} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{32 \sqrt {2} \sqrt {b} f}+\frac {21 a^{9/2} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{32 \sqrt {2} \sqrt {b} f}+\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{64 \sqrt {2} \sqrt {b} f}-\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{64 \sqrt {2} \sqrt {b} f}-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}} \]

[Out]

-7/16*a^3*b*(a*sin(f*x+e))^(3/2)/f/(b*sec(f*x+e))^(1/2)-1/4*a*b*(a*sin(f*x+e))^(7/2)/f/(b*sec(f*x+e))^(1/2)-21
/64*a^(9/2)*arctan(1-2^(1/2)*b^(1/2)*(a*sin(f*x+e))^(1/2)/a^(1/2)/(b*cos(f*x+e))^(1/2))*(b*cos(f*x+e))^(1/2)*(
b*sec(f*x+e))^(1/2)/f*2^(1/2)/b^(1/2)+21/64*a^(9/2)*arctan(1+2^(1/2)*b^(1/2)*(a*sin(f*x+e))^(1/2)/a^(1/2)/(b*c
os(f*x+e))^(1/2))*(b*cos(f*x+e))^(1/2)*(b*sec(f*x+e))^(1/2)/f*2^(1/2)/b^(1/2)+21/128*a^(9/2)*ln(a^(1/2)-2^(1/2
)*b^(1/2)*(a*sin(f*x+e))^(1/2)/(b*cos(f*x+e))^(1/2)+a^(1/2)*tan(f*x+e))*(b*cos(f*x+e))^(1/2)*(b*sec(f*x+e))^(1
/2)/f*2^(1/2)/b^(1/2)-21/128*a^(9/2)*ln(a^(1/2)+2^(1/2)*b^(1/2)*(a*sin(f*x+e))^(1/2)/(b*cos(f*x+e))^(1/2)+a^(1
/2)*tan(f*x+e))*(b*cos(f*x+e))^(1/2)*(b*sec(f*x+e))^(1/2)/f*2^(1/2)/b^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.31, antiderivative size = 449, normalized size of antiderivative = 1.00, number of steps used = 13, number of rules used = 9, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.360, Rules used = {2663, 2665, 2654, 303, 1176, 631, 210, 1179, 642} \begin {gather*} -\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right )}{32 \sqrt {2} \sqrt {b} f}+\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \text {ArcTan}\left (\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}+1\right )}{32 \sqrt {2} \sqrt {b} f}+\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \log \left (-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)+\sqrt {a}\right )}{64 \sqrt {2} \sqrt {b} f}-\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)} \log \left (\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)+\sqrt {a}\right )}{64 \sqrt {2} \sqrt {b} f}-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[b*Sec[e + f*x]]*(a*Sin[e + f*x])^(9/2),x]

[Out]

(-21*a^(9/2)*ArcTan[1 - (Sqrt[2]*Sqrt[b]*Sqrt[a*Sin[e + f*x]])/(Sqrt[a]*Sqrt[b*Cos[e + f*x]])]*Sqrt[b*Cos[e +
f*x]]*Sqrt[b*Sec[e + f*x]])/(32*Sqrt[2]*Sqrt[b]*f) + (21*a^(9/2)*ArcTan[1 + (Sqrt[2]*Sqrt[b]*Sqrt[a*Sin[e + f*
x]])/(Sqrt[a]*Sqrt[b*Cos[e + f*x]])]*Sqrt[b*Cos[e + f*x]]*Sqrt[b*Sec[e + f*x]])/(32*Sqrt[2]*Sqrt[b]*f) + (21*a
^(9/2)*Sqrt[b*Cos[e + f*x]]*Log[Sqrt[a] - (Sqrt[2]*Sqrt[b]*Sqrt[a*Sin[e + f*x]])/Sqrt[b*Cos[e + f*x]] + Sqrt[a
]*Tan[e + f*x]]*Sqrt[b*Sec[e + f*x]])/(64*Sqrt[2]*Sqrt[b]*f) - (21*a^(9/2)*Sqrt[b*Cos[e + f*x]]*Log[Sqrt[a] +
(Sqrt[2]*Sqrt[b]*Sqrt[a*Sin[e + f*x]])/Sqrt[b*Cos[e + f*x]] + Sqrt[a]*Tan[e + f*x]]*Sqrt[b*Sec[e + f*x]])/(64*
Sqrt[2]*Sqrt[b]*f) - (7*a^3*b*(a*Sin[e + f*x])^(3/2))/(16*f*Sqrt[b*Sec[e + f*x]]) - (a*b*(a*Sin[e + f*x])^(7/2
))/(4*f*Sqrt[b*Sec[e + f*x]])

Rule 210

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^(-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])
], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 303

Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[a/b, 2]], s = Denominator[Rt[a/b, 2]]},
Dist[1/(2*s), Int[(r + s*x^2)/(a + b*x^4), x], x] - Dist[1/(2*s), Int[(r - s*x^2)/(a + b*x^4), x], x]] /; Free
Q[{a, b}, x] && (GtQ[a/b, 0] || (PosQ[a/b] && AtomQ[SplitProduct[SumBaseQ, a]] && AtomQ[SplitProduct[SumBaseQ,
 b]]))

Rule 631

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[a*(c/b^2)]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 642

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[d*(Log[RemoveContent[a + b*x +
c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 1176

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[2*(d/e), 2]}, Dist[e/(2*c), Int[1/S
imp[d/e + q*x + x^2, x], x], x] + Dist[e/(2*c), Int[1/Simp[d/e - q*x + x^2, x], x], x]] /; FreeQ[{a, c, d, e},
 x] && EqQ[c*d^2 - a*e^2, 0] && PosQ[d*e]

Rule 1179

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[-2*(d/e), 2]}, Dist[e/(2*c*q), Int[
(q - 2*x)/Simp[d/e + q*x - x^2, x], x], x] + Dist[e/(2*c*q), Int[(q + 2*x)/Simp[d/e - q*x - x^2, x], x], x]] /
; FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && NegQ[d*e]

Rule 2654

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> With[{k = Denomina
tor[m]}, Dist[k*a*(b/f), Subst[Int[x^(k*(m + 1) - 1)/(a^2 + b^2*x^(2*k)), x], x, (a*Sin[e + f*x])^(1/k)/(b*Cos
[e + f*x])^(1/k)], x]] /; FreeQ[{a, b, e, f}, x] && EqQ[m + n, 0] && GtQ[m, 0] && LtQ[m, 1]

Rule 2663

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[(-a)*b*(a*Sin
[e + f*x])^(m - 1)*((b*Sec[e + f*x])^(n - 1)/(f*(m - n))), x] + Dist[a^2*((m - 1)/(m - n)), Int[(a*Sin[e + f*x
])^(m - 2)*(b*Sec[e + f*x])^n, x], x] /; FreeQ[{a, b, e, f, n}, x] && GtQ[m, 1] && NeQ[m - n, 0] && IntegersQ[
2*m, 2*n]

Rule 2665

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Dist[(b*Cos[e + f*
x])^n*(b*Sec[e + f*x])^n, Int[(a*Sin[e + f*x])^m/(b*Cos[e + f*x])^n, x], x] /; FreeQ[{a, b, e, f, m, n}, x] &&
 IntegerQ[m - 1/2] && IntegerQ[n - 1/2]

Rubi steps

\begin {align*} \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{9/2} \, dx &=-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}+\frac {1}{8} \left (7 a^2\right ) \int \sqrt {b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx\\ &=-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}+\frac {1}{32} \left (21 a^4\right ) \int \sqrt {b \sec (e+f x)} \sqrt {a \sin (e+f x)} \, dx\\ &=-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}+\frac {1}{32} \left (21 a^4 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \int \frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}} \, dx\\ &=-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}+\frac {\left (21 a^5 b \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {x^2}{a^2+b^2 x^4} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{16 f}\\ &=-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}-\frac {\left (21 a^5 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {a-b x^2}{a^2+b^2 x^4} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{32 f}+\frac {\left (21 a^5 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {a+b x^2}{a^2+b^2 x^4} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{32 f}\\ &=-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}+\frac {\left (21 a^5 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\frac {a}{b}-\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}+x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{64 b f}+\frac {\left (21 a^5 \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{\frac {a}{b}+\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}+x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{64 b f}+\frac {\left (21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt {a}}{\sqrt {b}}+2 x}{-\frac {a}{b}-\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}-x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{64 \sqrt {2} \sqrt {b} f}+\frac {\left (21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt {a}}{\sqrt {b}}-2 x}{-\frac {a}{b}+\frac {\sqrt {2} \sqrt {a} x}{\sqrt {b}}-x^2} \, dx,x,\frac {\sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}\right )}{64 \sqrt {2} \sqrt {b} f}\\ &=\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{64 \sqrt {2} \sqrt {b} f}-\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{64 \sqrt {2} \sqrt {b} f}-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}+\frac {\left (21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right )}{32 \sqrt {2} \sqrt {b} f}-\frac {\left (21 a^{9/2} \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right )}{32 \sqrt {2} \sqrt {b} f}\\ &=-\frac {21 a^{9/2} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{32 \sqrt {2} \sqrt {b} f}+\frac {21 a^{9/2} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {a} \sqrt {b \cos (e+f x)}}\right ) \sqrt {b \cos (e+f x)} \sqrt {b \sec (e+f x)}}{32 \sqrt {2} \sqrt {b} f}+\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}-\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{64 \sqrt {2} \sqrt {b} f}-\frac {21 a^{9/2} \sqrt {b \cos (e+f x)} \log \left (\sqrt {a}+\frac {\sqrt {2} \sqrt {b} \sqrt {a \sin (e+f x)}}{\sqrt {b \cos (e+f x)}}+\sqrt {a} \tan (e+f x)\right ) \sqrt {b \sec (e+f x)}}{64 \sqrt {2} \sqrt {b} f}-\frac {7 a^3 b (a \sin (e+f x))^{3/2}}{16 f \sqrt {b \sec (e+f x)}}-\frac {a b (a \sin (e+f x))^{7/2}}{4 f \sqrt {b \sec (e+f x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 1.39, size = 169, normalized size = 0.38 \begin {gather*} \frac {a^4 \cot (e+f x) \sqrt {b \sec (e+f x)} \sqrt {a \sin (e+f x)} \left (4 (-9+2 \cos (2 (e+f x))) \sin ^2(e+f x)+21 \sqrt {2} \tan ^{-1}\left (\frac {-1+\sqrt {\tan ^2(e+f x)}}{\sqrt {2} \sqrt [4]{\tan ^2(e+f x)}}\right ) \sqrt [4]{\tan ^2(e+f x)}-21 \sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt [4]{\tan ^2(e+f x)}}{1+\sqrt {\tan ^2(e+f x)}}\right ) \sqrt [4]{\tan ^2(e+f x)}\right )}{64 f} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[b*Sec[e + f*x]]*(a*Sin[e + f*x])^(9/2),x]

[Out]

(a^4*Cot[e + f*x]*Sqrt[b*Sec[e + f*x]]*Sqrt[a*Sin[e + f*x]]*(4*(-9 + 2*Cos[2*(e + f*x)])*Sin[e + f*x]^2 + 21*S
qrt[2]*ArcTan[(-1 + Sqrt[Tan[e + f*x]^2])/(Sqrt[2]*(Tan[e + f*x]^2)^(1/4))]*(Tan[e + f*x]^2)^(1/4) - 21*Sqrt[2
]*ArcTanh[(Sqrt[2]*(Tan[e + f*x]^2)^(1/4))/(1 + Sqrt[Tan[e + f*x]^2])]*(Tan[e + f*x]^2)^(1/4)))/(64*f)

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 4 vs. order 3.
time = 1.40, size = 538, normalized size = 1.20

method result size
default \(-\frac {\left (21 i \sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {\sin \left (f x +e \right )-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}-\frac {i}{2}, \frac {\sqrt {2}}{2}\right )-21 i \sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {\sin \left (f x +e \right )-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}+\frac {i}{2}, \frac {\sqrt {2}}{2}\right )-8 \left (\cos ^{4}\left (f x +e \right )\right ) \sqrt {2}-21 \sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {\sin \left (f x +e \right )-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}-\frac {i}{2}, \frac {\sqrt {2}}{2}\right )-21 \sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {\sin \left (f x +e \right )-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \sqrt {\frac {-1+\cos \left (f x +e \right )}{\sin \left (f x +e \right )}}\, \EllipticPi \left (\sqrt {\frac {1-\cos \left (f x +e \right )+\sin \left (f x +e \right )}{\sin \left (f x +e \right )}}, \frac {1}{2}+\frac {i}{2}, \frac {\sqrt {2}}{2}\right )+8 \left (\cos ^{3}\left (f x +e \right )\right ) \sqrt {2}+22 \left (\cos ^{2}\left (f x +e \right )\right ) \sqrt {2}-22 \cos \left (f x +e \right ) \sqrt {2}\right ) \left (a \sin \left (f x +e \right )\right )^{\frac {9}{2}} \sqrt {\frac {b}{\cos \left (f x +e \right )}}\, \sqrt {2}}{64 f \sin \left (f x +e \right )^{3} \left (-1+\cos \left (f x +e \right )\right )}\) \(538\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*sin(f*x+e))^(9/2)*(b*sec(f*x+e))^(1/2),x,method=_RETURNVERBOSE)

[Out]

-1/64/f*(21*I*((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2)*((sin(f*x+e)-1+cos(f*x+e))/sin(f*x+e))^(1/2)*((-1+c
os(f*x+e))/sin(f*x+e))^(1/2)*EllipticPi(((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2),1/2-1/2*I,1/2*2^(1/2))-21
*I*((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2)*((sin(f*x+e)-1+cos(f*x+e))/sin(f*x+e))^(1/2)*((-1+cos(f*x+e))/
sin(f*x+e))^(1/2)*EllipticPi(((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2),1/2+1/2*I,1/2*2^(1/2))-8*cos(f*x+e)^
4*2^(1/2)-21*((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2)*((sin(f*x+e)-1+cos(f*x+e))/sin(f*x+e))^(1/2)*((-1+co
s(f*x+e))/sin(f*x+e))^(1/2)*EllipticPi(((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2),1/2-1/2*I,1/2*2^(1/2))-21*
((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2)*((sin(f*x+e)-1+cos(f*x+e))/sin(f*x+e))^(1/2)*((-1+cos(f*x+e))/sin
(f*x+e))^(1/2)*EllipticPi(((1-cos(f*x+e)+sin(f*x+e))/sin(f*x+e))^(1/2),1/2+1/2*I,1/2*2^(1/2))+8*cos(f*x+e)^3*2
^(1/2)+22*cos(f*x+e)^2*2^(1/2)-22*cos(f*x+e)*2^(1/2))*(a*sin(f*x+e))^(9/2)*(b/cos(f*x+e))^(1/2)/sin(f*x+e)^3/(
-1+cos(f*x+e))*2^(1/2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sin(f*x+e))^(9/2)*(b*sec(f*x+e))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(b*sec(f*x + e))*(a*sin(f*x + e))^(9/2), x)

________________________________________________________________________________________

Fricas [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sin(f*x+e))^(9/2)*(b*sec(f*x+e))^(1/2),x, algorithm="fricas")

[Out]

Timed out

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sin(f*x+e))**(9/2)*(b*sec(f*x+e))**(1/2),x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a*sin(f*x+e))^(9/2)*(b*sec(f*x+e))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(b*sec(f*x + e))*(a*sin(f*x + e))^(9/2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int {\left (a\,\sin \left (e+f\,x\right )\right )}^{9/2}\,\sqrt {\frac {b}{\cos \left (e+f\,x\right )}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*sin(e + f*x))^(9/2)*(b/cos(e + f*x))^(1/2),x)

[Out]

int((a*sin(e + f*x))^(9/2)*(b/cos(e + f*x))^(1/2), x)

________________________________________________________________________________________